/**
 * 
 */
package com.gopay.common.domain.solution;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

import com.gopay.common.domain.BaseEntity;

/**
 * 清算渠道方案扩展表
 * @author gaocl
 * @2016年8月4日 上午11:41:11 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="SS_TRANS_PAY_CHAN_DTL_EXT")
public class SsTransPayChanDtlExt  extends BaseEntity{

    /**
     * 
     */
    private static final long serialVersionUID = -54250429956283624L;

private Integer  id;
/**
 * 支付方式
 */
private String payChannel;
/**
 * 账户ID
 */
private String acctId;
/**
 * 内部交易码
 */
private String gopayIntTxnCd;
/**
 * 
 */
private String name;
/**
 * 
 */
private String value;
/**
 * 01 通用
 *02 个性化
 */
private String type;

/**
 * 创建时间
 */
private Date createdTs;
/**
 * 创建用户ID
 */
private String createdOperId;
/**
 * 最后修改用户ID
 */
private String lastUpdOperId;

/**
 * 最后修改时间
 */
private Date lastUpdTs;

/**
 * 乐观锁版本号
 */
private Integer version;

@Id
@SequenceGenerator(name = "SS_TRANS_PAY_CHAN_DTL_EXT_SEQ_GENERATOR", sequenceName = "SS_TRANS_PAY_CHAN_DTL_EXT_SEQ", allocationSize = 1)
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SS_TRANS_PAY_CHAN_DTL_EXT_SEQ_GENERATOR")
@Column(name="ID")
public Integer getId() {
    return id;
}

public void setId(Integer id) {
    this.id = id;
}
@Column(name="PAY_CHANNEL")
public String getPayChannel() {
    return payChannel;
}

public void setPayChannel(String payChannel) {
    this.payChannel = payChannel;
}
@Column(name="ACCT_ID")
public String getAcctId() {
    return acctId;
}

public void setAcctId(String acctId) {
    this.acctId = acctId;
}
@Column(name="GOPAY_INT_TXN_CD")
public String getGopayIntTxnCd() {
    return gopayIntTxnCd;
}

public void setGopayIntTxnCd(String gopayIntTxnCd) {
    this.gopayIntTxnCd = gopayIntTxnCd;
}
@Column(name="NAME")
public String getName() {
    return name;
}

public void setName(String name) {
    this.name = name;
}
@Column(name="VALUE")
public String getValue() {
    return value;
}

public void setValue(String value) {
    this.value = value;
}
@Column(name="TYPE")
public String getType() {
    return type;
}

public void setType(String type) {
    this.type = type;
}
@Column(name="CREATED_TS")
@Temporal(TemporalType.TIMESTAMP)
public Date getCreatedTs() {
    return createdTs;
}

public void setCreatedTs(Date createdTs) {
    this.createdTs = createdTs;
}
@Column(name="CREATED_OPER_ID")
public String getCreatedOperId() {
    return createdOperId;
}

public void setCreatedOperId(String createdOperId) {
    this.createdOperId = createdOperId;
}
@Column(name="LAST_UPD_OPER_ID")
public String getLastUpdOperId() {
    return lastUpdOperId;
}

public void setLastUpdOperId(String lastUpdOperId) {
    this.lastUpdOperId = lastUpdOperId;
}
@Column(name="LAST_UPD_TS")
@Temporal(TemporalType.TIMESTAMP)
public Date getLastUpdTs() {
    return lastUpdTs;
}

public void setLastUpdTs(Date lastUpdTs) {
    this.lastUpdTs = lastUpdTs;
}
@Version
@Column(name="VERSION")
public Integer getVersion() {
    return version;
}

public void setVersion(Integer version) {
    this.version = version;
}

public static long getSerialversionuid() {
    return serialVersionUID;
}




}
